package com.chaosj.memory.dto;

import lombok.Data;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @className: WxGzhDto
 * @description:
 * @author: caoyangjie
 * @date: 2021/12/25
 **/
@Data
public class WxGzhDto extends HandlerDto{
    private List<String> scrapes;

    public WxGzhDto(String[] args) {
        super(args);
        this.scrapes = Arrays.asList(args).stream().skip(1).collect(Collectors.toList());
    }
}
